package com.turing.user.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.turing.user.entity.RoleFunctionPrivilege;
import com.turing.user.vo.LoginVO;

import java.util.List;
import java.util.Set;

/**
* @Description $!{table.comment} 服务类接口
* @Author livin
* @Date 2022-02-22
*/
public interface RoleFunctionPrivilegeService extends IService<RoleFunctionPrivilege> {

    List<RoleFunctionPrivilege> getPrivilegeByRole(Integer roleId );

    List<LoginVO.Menu> buildMenuTree( Set<RoleFunctionPrivilege> mfpSet );

}
